Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.platform.audit.contentView.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.platform.audit.contentView.contrib">

  <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
    point="contentViews">

    <contentView name="DOCUMENT_HISTORY">

      <title>label.contentview.document.history</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>

      <pageProvider name="DOCUMENT_HISTORY_PROVIDER">
        <property name="coreSession">#{documentManager}</property>
        <property name="generateUIComments">true</property>
        <parameter>#{currentDocument.id}</parameter>
      </pageProvider>

      <searchLayout name="basicauditsearch" filterDisplayType="quick" />
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentCreated</event>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{currentDocument.repositoryName}_#{currentDocument.id}</cacheKey>

      <resultLayouts>
        <layout name="history_listing" title="history_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showPDFExport="false" />
      </resultLayouts>

    </contentView>

  </extension>

</component>